package com.fantasybaby.user.service;

import java.util.Map;

import com.fantasybaby.common.bean.Account;
import com.fantasybaby.page.Pager;

public interface IAccountService {
	public boolean addAccount(Account Account);
	public boolean updateAccount(Account account);
	public boolean deleteAccount(Account account);
	public Account loadAccount(int id);
	public Pager<Account> findPager(Map<String, Object> map);
	
	/**
	 * 用来测试事务的方法
	 * @return
	 */
	public boolean deleteTrans();
}
